﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using System.ComponentModel.DataAnnotations;

using System.Data.Entity;

using CustomerModel;

namespace MvcWebRole1.Models
{
    public class CompanyModel
    {
        [Required]
        [Display(Name = "User name")]
        public string UserName { get; set; }

        [Required]
        [Display(Name = "Company Name")]
        public string Company { get; set; }

    }

    public class CustomerRepositoryContext : DbContext
    {
        public DbSet<CompanyModel> Companies { get; set; }
    }
}